package com.kuson.springcloud.service.rpc.impl;

import com.kuson.springcloud.domain.CommonResult;
import com.kuson.springcloud.service.rpc.StorageService;

/**
 * 微服务调用失败后兜底的方法
 */
public class StorageServiceImpl implements StorageService {
    @Override
    public CommonResult decrease(Long productId, Long count) {
        return new CommonResult(444,"减库存失败");
    }
}
